package org.t.pro.dao;

import org.t.pro.pojo.AdminQueryArticlePojo;
import org.t.pro.pojo.AdminSaveArticlePojo;
import org.t.pro.vo.Article;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author a0000
* @description 针对表【article】的数据库操作Mapper
* @createDate 2024-02-05 23:08:07
* @Entity org.t.pro.vo.Article
*/
public interface ArticleDao extends BaseMapper<Article> {
    List<AdminQueryArticlePojo> getArticleList();

    AdminQueryArticlePojo getArticleById(Integer id);

    int saveArticle(AdminSaveArticlePojo pojo);
}




